﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zocono.WCS.Domain.EntityInfo;
using Zocono.WCS.Domain.WorkTaskDomain;

namespace Zocono.WCS.Application.AppConfigureManage
{
    public class TaskRouteDetailRecordInfoApp
    {
        private readonly ITaskRouteDetailRecordInfoService _TaskRouteDetailRecordInfoService;
        public TaskRouteDetailRecordInfoApp(ITaskRouteDetailRecordInfoService taskRouteDetailRecordInfoService)
        {
            _TaskRouteDetailRecordInfoService = taskRouteDetailRecordInfoService;
        }

        public async Task<List<TaskRouteDetailRecordInfo>> GetTaskRouteDetailRecordInfoAsync(long taskId)
        {
            return await _TaskRouteDetailRecordInfoService.GetTaskRouteDetailRecordInfoAsync(taskId);
        }
    }
}
